package com.zjw.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zjw.annotation.domain.ResponseResult;
import com.zjw.annotation.domain.dto.AddUserDto;
import com.zjw.annotation.domain.dto.EditUserDto;
import com.zjw.annotation.domain.entity.User;

import java.util.List;


/**
 * 用户表(User)表服务接口
 *
 * @author makejava
 * @since 2023-12-13 17:46:27
 */
public interface UserService extends IService<User>  {

    ResponseResult getUserInfo();

    ResponseResult saveUserInfo(User user);

    ResponseResult register(User user);

    ResponseResult getInfo();

    ResponseResult getRouters();

    ResponseResult getUserList(Long pageNum, Long pageSize, String userName, String phonenumber, String status);

    ResponseResult getUserById(Long id);

    ResponseResult addUser(AddUserDto addUserDto);

    ResponseResult editUser(EditUserDto editUserDto);

    ResponseResult removeUser(List<Long> id);

    ResponseResult changeStatus(Long userId, String status);
}

